

/*杂项*/
.admin-main {margin: 0px;min-height: 70vh;}

.w100{width: 100px !important;}
.w200{width: 200px !important;}
.w300{width: 300px !important;}
.w400{width: 400px !important;}
.w500{width: 500px !important;}

/* 头部 */
.header{background-color: #393D49; color: #fff;}
.header .layui-nav{position: absolute; right: 0; top: 0; padding: 0; background: none;}
.header .layui-nav .layui-nav-item{margin: 0 20px; line-height: 66px;}


.layui-layout-admin .header-demo{border-bottom-color: #1AA094; background-color: #4391d4;}
.header-demo .logo{left: 40px;}
.header-demo .layui-nav{top: 0;}
.header-demo .layui-nav .layui-nav-item{margin: 0 10px; line-height: 60px;}
.header-demo .layui-nav .layui-nav-item>a{color: #fff;}
.header-demo .layui-nav .layui-this{background-color: #f2f2f2;}
.header-demo .layui-nav .layui-nav-item a:hover,.header-demo .layui-nav .layui-this a{color:#333!important;opacity: 0.8}
.header-demo .layui-nav .layui-this:after,.header-demo .layui-nav-bar{background-color: #393D49;}
.header-demo .layui-nav .layui-this a{padding: 0 20px;}

/* 底部 */
.footer{padding: 30px 0; line-height: 30px; text-align: center; background-color: #eee; color: #666; font-weight: 300;}
body .layui-layout-admin .footer-demo{height: auto; padding: 5px 0; line-height: 26px;}
.footer a{padding: 0 5px;}


/* 自定义css */
.admin-header-item-mobile{position: absolute; right: 0px; height: 60px;line-height: 60px; padding: 0 20px; text-align: center; top:0; display: none; }
.admin-nav-tree .layui-nav-child a {padding-left: 30px; }

.admin{border: 0; margin: 0; box-shadow:none; }
.admin-nav-card{margin-top: 0px; }
.admin-nav-card .layui-icon{position: relative; }
.admin-nav-card .layui-tab-item iframe{width: 100%; border: 0; height: 100%; }
.admin-nav-card>.layui-tab-title{/* border-bottom: 1px solid #1AA094; */ background-color: #fff;}
.admin-nav-card .layui-tab-title cite{font-style: normal; padding-left: 5px; }
.admin-nav-card>.layui-tab-title .layui-this{color: white; background-color: #333; }
.admin-nav-card>.layui-tab-title .layui-this:after{border-bottom: 0; }
.admin-header-user img{width: 40px; height: 40px; border-radius: 100%; }
.admin-header-user .layui-nav-more{top:33px; }
.admin-header-user .layui-nav-mored{top: 26px; }

/*lock*/
.admin-header-lock{width: 320px; height: 150px; padding: 20px; position: relative; text-align: center; }
.admin-header-lock-img{width: 60px; height: 60px; margin: 0 auto; }
.admin-header-lock-img img{width: 60px; height: 60px; border-radius: 100%; }
.admin-header-lock-name{color: #009688;margin: 8px 0 15px 0; }
.admin-header-lock-input{width: 150px; color: #FFFFFF; height: 30px; border: 0;background-color: #009688; padding: 0 7px; border-radius: 2px; }



/*顶部的那些控制按钮*/
.admin-login-box{width: 200px; height: 60px; position: relative; }
.admin-login-box a{color:#fff !Important;}
.admin-login-box .logo{width:200px;height: 60px;line-height: 60px;text-align: center;background-color: #4391d4;display: block;}
.admin-login-box .control{position: absolute; cursor: pointer; z-index: 19940201; left: 200px;top:0px;display: flex;align-items:center;}
.admin-login-box .control .bt{text-align: center; width: 80px; height: 60px; line-height: 60px;display: flex;align-items:center;justify-content:center;border-left:1px solid rgba(255,255,255,0.3);}
.admin-login-box .control .bt:last-child{border-right:1px solid rgba(255,255,255,0.3);}
.admin-login-box .control .bt:hover{background-color: rgba(255,255,255,0.1)}
.admin-login-box .control .bt .fa{color: #fff;  font-size:24px;}
.beg-navbar .layui-nav-child dd a{padding-left: 30px; }  /*左边二级菜单*/

.site-tree{border-right: 1px solid #eee; }
.site-tree .layui-tree{line-height: 32px;}
.site-tree .layui-tree li i{position: relative; font-size: 22px; color: #000}
.site-tree .layui-tree li a cite{padding: 0 8px;}
.site-tree .layui-tree .site-tree-noicon a cite{padding-left: 15px;}
.site-tree .layui-tree li a em{font-size: 12px; color: #bbb; padding-right: 5px; font-style: normal;}
.site-tree .layui-tree li h2{line-height: 36px; border-left: 5px solid #009E94; margin: 15px 0 5px; padding: 0 10px; background-color: #f2f2f2;}
.site-tree .layui-tree li ul{margin-left: 27px; line-height: 28px;}
.site-tree .layui-tree li ul a,
.site-tree .layui-tree li ul a i{color: #777;}
.site-tree .layui-tree li ul a:hover{color: #333;}
.site-tree .layui-tree li ul li{margin-left: 25px; overflow: visible; list-style-type: disc; /*list-style-position: inside;*/}
.site-tree .layui-tree li ul li cite,
.site-tree .layui-tree .site-tree-noicon ul li cite{padding-left: 0;}

.site-tree .layui-tree .layui-this a{color: #01AAED;}
.site-tree .layui-tree .layui-this .layui-icon{color: #01AAED;}

.site-fix .site-tree{position: fixed; top: 0; bottom: 0; z-index: 666; min-height: 0; overflow: auto;  background-color: #fff;}
.site-fix .site-content{margin-left: 220px;}
.site-fix-footer .site-tree{/*margin-bottom: 120px;*/}


.site-title{ margin: 30px 0 20px;}
.site-title fieldset{border: none; padding: 0; border-top: 1px solid #eee;}
.site-title fieldset legend{margin-left: 20px;  padding: 0 10px; font-size: 22px; font-weight: 300;}

.site-text a{color: #01AAED;}
.site-h1{margin-bottom: 20px; line-height: 60px; padding-bottom: 10px; color: #393D49; border-bottom: 1px solid #eee;  font-size: 28px; font-weight: 300;}
.site-h1 .layui-icon{position: relative; top: 5px; font-size: 35px; margin-right: 10px;}
.site-text{position:relative;}
.site-text p{margin-bottom: 10px;  line-height:22px;}
.site-text em{padding: 0 3px; font-weight: 500; font-style: italic; color: #666;}
.site-text code{margin:0 5px; padding: 3px 10px; border: 1px solid #e2e2e2; background-color: #fbfbfb; color: #666; border-radius: 2px;}

.site-table{width: 100%; margin: 10px 0;}
.site-table thead{background-color:#f2f2f2; }
.site-table th, 
.site-table td{padding: 6px 15px; min-height: 20px; line-height: 20px; border:1px solid #ddd; font-size: 14px; font-weight: 400;}
.site-table tr:nth-child(even){background: #fbfbfb;}

.site-block{padding: 20px; border: 1px solid #eee;}
.site-block .layui-form{margin-right: 200px;}

/* 适配多设备 */
@media screen and (max-width: 750px) {
  .layui-header {height: 40px; }
  .admin-login-box{width: 200px; height: 40px; position: relative; }
  .admin-login-box .logo {width: 140px; height: 40px; line-height: 40px; }
  .admin-header-item-mobile{height:40px;line-height: 40px;}
  .layui-main{width: auto; margin: 0 10px;}
  .logo,
  .header-demo .logo{left: 10px;}
  .header-demo .layui-nav .layui-nav-item {
    line-height: 40px;
}
  .site-nav-layim{display: none !important;}
  .header .layui-nav .layui-nav-item{margin: 0;}
  .header .layui-nav .layui-nav-item a{padding: 0 15px;}
  .site-banner{height: 300px;}
  .site-banner-bg{background-size: cover;}
  .site-zfj{height: 100px; padding-top: 5px;}
  .site-zfj i{top: 10px; width: 100px; height: 100px; margin-left: -50px; font-size: 100px;}
  .site-desc{background-size: 70%; margin: 0;}
  .site-desc cite{display: none;}
  .site-download{margin-top: 0; }
  .site-download a{height: 40px; line-height: 40px; padding: 0 25px 0 60px; border: 1px solid #778097; border-radius: 30px; color: #fff; font-size: 16px;}
  .site-download a cite{left: 20px;}
  .site-banner-other{bottom: 15px;}

  .site-idea{margin: 20px 0;}
  .site-idea li{margin: 0 0 20px 0; width: 100%; height: auto; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}
  .site-hengfu img{max-width: 100%}

  .layui-layer-dir{display: none;}
  .site-tree{position: fixed; top: 0; bottom: 0; min-height: 0; overflow: auto; z-index: 1000; left: -260px; background-color: #fff;  transition: all .3s; -webkit-transition: all .3s;}
  .site-content{width: 100%; padding: 0; overflow: auto;}
  .site-content img{max-width: 100%;}
  .site-tree-mobile{display: block!important; position: fixed; z-index: 100000; bottom: 15px; left: 15px; width: 50px; height: 50px; line-height: 50px; border-radius: 2px; text-align: center; background-color: rgba(0,0,0,.7); color: #fff;}
  .site-home .site-tree-mobile{display: none!important;}
  .site-mobile .site-tree-mobile{display: none !important;}
  .site-mobile .site-tree{left: 0;}
  .site-mobile .site-mobile-shade{content: ''; position: fixed; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0,0,0,.8); z-index: 9999;}
  .site-tree-mobile i{font-size: 20px;}
  .layui-code-view{-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}

  .layui-layout-admin .layui-side{position: fixed; top: 0; left: -260px; transition: all .3s; -webkit-transition: all .3s; z-index: 10000;}
  .layui-body{position: static; bottom: 0; left: 0;}
  .site-mobile .layui-side{left: 0;}
  body .layui-layout-admin .footer-demo{position: static;}

  .site-demo-area,
  .site-demo-editor,
  .site-demo-result,
  .site-demo-editor textarea,
  .site-demo-result iframe{position: static; width: 100%;}
  .site-demo-editor textarea{height: 350px;}
  .site-demo-zanzhu{display: none;}
  .site-demo-btn{bottom: auto; top: 370px;}
  .site-demo-result iframe{height: 500px;}

  .site-demo-laytpl textarea, .site-demo-laytpl div span{margin: 0;}
  .site-demo-tplres .site-demo-tplh2, .site-demo-tplres .site-demo-tplview{width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}

  .site-demo-title{position: static; left: 0;}
  body .layui-layout-admin .site-demo{}
  .site-demo-code{position: static; height: 350px;}
  
  .admin-side-toggle ,.admin-header-item{display: none;}
  .admin-header-item-mobile{ display: block; }
}

/*************************************layerui reset******************/
/*************************************layerui reset******************/
/*************************************layerui reset******************/
.layui-tab-content{padding:0px;}
form.layui-form {margin-right: 0px; background-color: #fff;padding:20px 20px;border-radius: 5px;box-sizing: content-box;}
blockquote form.layui-form {margin-right: 0px; background-color: #fff;padding:0px;border-radius: 0px;}

blockquote form.layui-form .layui-form-item,form.layui-form blockquote  .layui-form-item{margin:0px;}
input.layui-input[readonly] {border:none;background-color: #f5f5f5 !important;}
/************************************vbyzc************************/
/************************************vbyzc************************/
/************************************vbyzc************************/
.location{background-color: #fff;padding:15px;border-bottom: 1px solid #eee;}
.layui-upload-img{width: 92px; height: 92px; margin: 0 10px 10px 0;}/*上传图片时预览容器*/
